package com.example.visiter.vo;

import com.example.visiter.service.ComputerPart;
import com.example.visiter.service.Visitor;

public class CPU extends ComputerPart {

    @Override
    public double getPrice() {
        return 100;
    }

    @Override
    public void accept(Visitor v) {
        v.visitCpu(this);
    }
}
